﻿<?php //Seyret Component v.0.3//
/**
* @package Seyret
* @version 0.3
* @copyright Copyright (C) 2008 Mustafa DINDAR. All rights reserved.
* @license http://www.gnu.org/copyleft/gpl.html GNU/GPL, see LICENSE.php
* Seyret Video Component is a free software.
* See seyrettos.html for license notices and details.
*/

// no direct access
defined( '_JEXEC' ) or die( 'Restricted access' );





echo $this->toolbar;
echo $this->modtoolbar;

?>

<div>
	<?php
	
	$oddeven=1;
	
	foreach ($this->plresvideos as $uservideo) {

	?>
	<div class="uservideolistvideo<?php echo $oddeven?>">
		<div class="uservideolistthumbnaildiv">
			<a href="<?php echo $uservideo->videolink;?>">
				<img class="uservideolistthumbnail" src="<?php echo $uservideo->videothumbnail;?>"/> 
			</a>
		</div>
		<div class="uservideolisttitlediv">
			<a href="<?php echo $uservideo->videolink;?>">
				<?php	echo $uservideo->videotitle;?>
			</a>
		</div>
		
		<div class="clear"></div>
	</div>



	<?php	
	


		if ($oddeven==1) {
			$oddeven=2;
		} else {
			$oddeven=1;
			echo "<div style=\"clear:both;\"></div>";
		}	
	
	}
	?>
	

	<div style="text-align:center;">
				
		<?php echo $this->pageNav;	?>
	
	</div>	
	

</div>